﻿using System.ComponentModel.DataAnnotations.Schema;

namespace SL_Account.Models.Do
{
 

    [Table("User")]
    public class UserDO
    {

        public long Id { get; set; }

        public long? AccountNo { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? HeadImg { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; }

        /// <summary>
        /// 盐，用于个人敏感信息处理
        /// </summary>
        public string? Secret { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Mail { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? Username { get; set; }

        /// <summary>
        /// 认证级别，DEFAULT，REALNAME，ENTERPRISE，访问次数不一样
        /// </summary>
        public string? Auth { get; set; }

        public DateTime? GmtCreate { get; set; }

        public DateTime? GmtModified { get; set; }
    }

}
